package com.qy.dao;

import com.qy.base.core.Mapper;
import com.qy.model.Member;
import com.qy.model.PolicyOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface PolicyOrderMapper extends Mapper<PolicyOrder> {
    public List<Map> selectPolicyOrderList(PolicyOrder policyOrder);

    public List<Map> seePolicyOrder(Integer id);

    public void getPhone(Integer id);

    public String selectAmount(Integer user_id);

    public List<PolicyOrder> selectPolicyOrderListByUserId(Member member);

    public List<Map> profit(@Param("id") Integer id ,@Param("buy_type") Integer buy_type);
}